package com.qczl.core.model;
/**
 * 
 * JSON模型
 * 
 * 用户后台向前台返回的JSON对象
 * 
 * @author SongR
 * 
 */
public class Json {

	private Integer code=0;//状态码 0、成功 1、不存在 -1、失败
	
	private Object data;//数据
	
	private String msg = "接口异常！";//返回信息

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
